/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package app.Servidor;

import java.net.InetAddress;

/**
 *
 * @author Pedro Santos
 */
public class Configurações {

    private String server_ip;
    //Portar pra abrir Servidor UDP
    private int PortServer1;
    private int PortServer2;
    //Portas para enviar pelo socket. ClienteUDP
    private int PortSocket1;
    private int PortSocket2;

    public Configurações(String server_ip, int PortServer1, int PortServer2, int PortSocket1, int PortSocket2) {
        this.server_ip = server_ip;
        this.PortServer1 = PortServer1;
        this.PortServer2 = PortServer2;
        this.PortSocket1 = PortSocket1;
        this.PortSocket2 = PortSocket2;
    }

    public int getPortServer1() {
        return PortServer1;
    }

    public void setPortServer1(int PortServer1) {
        this.PortServer1 = PortServer1;
    }

    public int getPortServer2() {
        return PortServer2;
    }

    public void setPortServer2(int PortServer2) {
        this.PortServer2 = PortServer2;
    }

    public int getPortSocket1() {
        return PortSocket1;
    }

    public void setPortSocket1(int PortSocket1) {
        this.PortSocket1 = PortSocket1;
    }

    public int getPortSocket2() {
        return PortSocket2;
    }

    public void setPortSocket2(int PortSocket2) {
        this.PortSocket2 = PortSocket2;
    }

    public String getServer_ip() {
        return server_ip;
    }

    public void setServer_ip(String server_ip) {
        this.server_ip = server_ip;
    }  
    
}
